<template>
	<!--新增界面-->
	<el-dialog v-loading.fullscreen.lock="loading" element-loading-text="处理中......" title="新增险种" :visible.sync="dialogVisible" size="small" :close-on-click-modal="false" :close-on-press-escape="false" :before-close="off" :top="dialog_margin_top">
		  <el-form label-width="150px" >
		  <el-row :span="24">
		  	<el-col :span="12">
		  		<el-form-item label="险种代码">
					<el-input   size="small"></el-input>
				</el-form-item>
				<el-form-item label="险种中文名称">
					<el-input   size="small"></el-input>
				</el-form-item>
				<el-form-item label="险种英文名称">
					<el-input   size="small"></el-input>
				</el-form-item>
		  	</el-col>
		  	<el-col :span="12">
				<el-form-item label="生效日期">
					<el-input size="small"></el-input>
				</el-form-item>
				<el-form-item label="失效日期">
					<el-input size="small"></el-input>
				</el-form-item>
				<el-form-item label="险种状态">
					<el-input size="small"></el-input>
				</el-form-item>
		  	</el-col>
		  </el-row>
		</el-form>
		  <span slot="footer" class="dialog-footer">
			   <el-button @click="off">取 消</el-button>
			   <el-button type="success" @click="add">新增并关联</el-button>
		  </span>
	</el-dialog>
</template>

<script>


  export default {
	data() {
		return {
			dialog_margin_top: '5%',
			dialogVisible: true,
			rowdata: {
				
			},
			loading : false,
		}
	},
	mounted() {},
	methods: {
		add() {
			
		},
		off() {
			this.$parent.showAddDialog = false;
		}
	}
  }
</script>